package com.moonlight.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @ClassName ActCardResultEntity
 * @Description 测试实体类
 * @author wuxiangyi
 * @date 2022年9月4日 下午6:27:32
 */
@Table(name = "act_card_result")
@Entity
public class ActCardResultEntity implements Serializable {

	/**
	 * @Fields serialVersionUID TODO
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	private boolean delFlag;
	
	@Column(name = "userId")
	private String userId;
	
	private String name;
	
	@Column(name = "createTime")
	private Date createTime;
	
	private int type;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "ActCardResultEntity [id=" + id + ", delFlag=" + delFlag + ", userId=" + userId + ", name=" + name
				+ ", createTime=" + createTime + ", type=" + type + "]";
	}
	
	
}
